# -*- coding: utf-8 -*-
import scrapy


class XnItem(scrapy.Item):
    # 基础链接（一般为域名）
    base = scrapy.Field()
    # 书名
    title = scrapy.Field()
    # 书的地址
    href = scrapy.Field()
    # 来源页地址
    page = scrapy.Field()
    # 当前条数
    num = scrapy.Field()
    # 章节列表
    chapter_list = scrapy.Field()

class ChapterItem(scrapy.Item):
    name = scrapy.Field()
    href = scrapy.Field()
    text = scrapy.Field()

